CommonsBooking\Repository\Restriction S

Total Complexity 31
Dependencies 5
Dependents 7
Total lines 246
Lines of code 144
Logical lines of code 53
Comment lines 64
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
filterPosts()
A
48 14 32
get()
A
54 8 21
queryPosts()
S
51 4 27
getDateQuery()
S
53 1 27
getMinTimestampQuery()
S
55 1 22
castPostsToRestrictions()
S
70 2 6
getActiveQuery()
S
65 1 9